package com.ybfenpan.service.mall;


import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Service;

import com.ybfenpan.model.mall.MyAddress;
import com.ybfenpan.service.core.BaseService;







@Service
public class MyAddressService extends BaseService {
	
	public List<MyAddress> saveAddress(int memberId) {
		
		Map<String, Object> param = new HashMap<String, Object>();
		param.put("where","memberId="+memberId);
		
		List<MyAddress> list = this.queryForList("select", param);
		
		return list;
	}
	 
}
